refactor: archive 12 dead gRPC RPCs with [ARCHIVED] markers

Archived RPCs (code preserved, marked obsolete):
- fms.proto: excluded from csproj (CreateNewFileInfo, DeleteFileInfo)
- UserOrderService: GetOrdersByDateRange, CreateNewOrderForCustomer, SubmitOrderForCustomer
- ConfigurationService: DeactivateConfiguration, GetConfigurationHistory
- CityService: UpdateCity, DeleteCity
- HealthService: GetServiceHealth
- CategoryService: GetCategoryByIdForCustomer
- inventory.proto: BulkAdjustStock (no implementation existed)

All archived RPCs wrapped in #region [ARCHIVED] with [Obsolete] attributes.
No code deleted — archive only. Build passes with 0 errors.
This commit is contained in:
masoodafar-web
2026-02-24 22:53:36 +03:30
parent 8b9c317de6
commit 13dd0f552f
6 changed files with 29 additions and 7 deletions
@@ -98,8 +98,11 @@ public class CategoryService : CategoryContract.CategoryContractBase
return response;
}
#region [ARCHIVED] GetCategoryByIdForCustomer تکراری: GetCategory (admin) + GetAllCategoriesForCustomer کافی است
[Obsolete("ARCHIVED: Use GetCategory or GetAllCategoriesForCustomer instead")]
public override async Task<GetCategoryByIdForCustomerResponse> GetCategoryByIdForCustomer(GetCategoryByIdForCustomerRequest request, ServerCallContext context)
{
// [ARCHIVED] duplicate — GetCategory + GetAllCategoriesForCustomer cover this
var query = new GetCategoryQuery { Id = request.Id };
var result = await _sender.Send(query, context.CancellationToken);
@@ -118,4 +121,5 @@ public class CategoryService : CategoryContract.CategoryContractBase
}
};
}
#endregion
}