Tuesday, July 25, 2023
Wednesday, July 19, 2023
Saturday, July 15, 2023
Remove Mandatory field from model
Remove the Mandatory field from the model:
ModelState.Remove("SyncMonth");
ModelState.Remove("NotSyncMonth");
if (!ModelState.IsValid)
return GetErrorMessageResult("Warning! You must fill all the required fields");
Subscribe to:
Posts (Atom)
Screen Record
Windows Screen Record WindowsKey+ Alt + R Recording Starts.
-
https://jwt.io/ J SON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
-
public void ProcessOrder(int orderId, bool applyDiscount) { if(applyDiscount) { //Apply Discount to the order }...