Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "manojreddy"

So You mean to say that there is no way around to make it faster?

Hi @felixbeltran,

Could you please explain devtool configuration solution.

Thanks ,

My bad, I missed it.

Where should I add the code mentioned by you?

this._testService.createTest(this.test)
	.subscribe(() => {
		this.notify.info(this.l('SavedSuccessfully'));
		this.modalSave.emit(this.test);
		this.router.navigate(['/app/tests']);
	});
public async Task CreateTest(TestInput input)
	{
		
		throw new UserFriendlyException("Test Code Already Exist");
						
}

I want to localize "Test Code Already Exist" message.

<cite>ManojReddy: </cite> I am making an update API Call, but its updating CreationTime and CreatorUserId columns even If I'm not passing these values.

{
 "testCode": "string",
 "testName": "string",
 "testDesc": "string",
 "id": 1
}
public async Task UpdateTest(TestDetailsDTO input)
       {
           var classobj = ObjectMapper.Map<Test>(input);
           await UpdateAsync(classobj);
       }
public class TaxJurisdictionDetailsDTO : FullAuditedEntityDto
   {
       public string CodeCode { get; set; }
       public string CodeName { get; set; }
       public string CodeDesc { get; set; }
   }

Parameter input gets CreationTime in UpdateTest service method.

Following code is not working, Its updating CreationTime, CreatorUserId.

var classobj = _someService.GetEntity(input.id);
ObjectMapper.Map(input, classobj );

What are pros and cons of attaching the entity to dbContext?

Thanks, Could you please provide sample declaration for repositorybase or custom repository.

Thanks for your response.

But in this case it will make extra DB call by calling GetEntity method. Don't we have any alternative approach?

Thanks for your response.

Could you please give an example of "Instead of an app service, you can create a domain service class and use it in your application's startup, maybe in your web module", So that It would be more clear.

Showing 181 to 190 of 199 entries