I have this problem, my system is a clothing store that allows the customer to return the fabrics he bought after only one day of purchase.
Returning fabrics is a precedent ... but how can I imagine a one-day condition? I was thinking about using the Guard mode, what do you think?
That you actually have two different use cases that have a common effect.
You want to create a basic use case for “Try returning clothes,” and then extend it to two different use cases that generalize to it, for example:
, . , , .
, .
:
2.
3 ...
. . : .
conditional statements are not used in use cases because the conditions consist of behavior. Such a use-case precedent is strange. use peremptory statements for your use cases, such as: "make registration", "complete order", etc.
Source: https://habr.com/ru/post/1771810/More articles:Matlab: is there a way to speed up the calculation of the sign of a number? - matlabaccess to ascx parameter in code - c #Please recommend MySQL Profiler (preferably free) - mysqlIISReset Pools and Applications - asp.netSeparate a sequence of numbers in clojure - clojureHow to disable "USB Over Current Notification" pop-ups in Finder on Mac OS X 10.6? - finderSelect-sql query for many-to-many - sqlMySql Data Type Interval - typesLLVM - invalid instruction without BB - llvmSave specific nodes when using LINQ to XML - c #All Articles